package top.cdmrx.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Mr.陈 time on 2021/9/1 | 13:13
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"top.cdmrx"})        //配置不同模块同名包下的组件扫描
@EnableDiscoveryClient
@EnableFeignClients
public class ApplicationCornWeb {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationCornWeb.class,args);
    }
}
